function preview(){
	var chartId = document.all("chart.cid").value;
	var view = document.frames('chart.preview');
	view.location='/dev/chart.preview.do?chartid='+chartId;
}
//datamode
function setDataMode(mode){
	if(!mode) return ;
	var row = $fTr(document.all("cf.d"));
	row.style.display=(mode=="1" || mode=="0")?"block":"none";
	row = $fTr(document.all("cf.qu"));
	row.style.display=(mode=="1" || mode=="0")?"block":"none";
}
setDataMode(document.all("cf.dm").value);
//?
function setFields(){
}
setFields();
